package com.gydz.gydzbaseframeworkboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;

@ComponentScan("com.gydz")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableScheduling
@PropertySource("classpath:application.yml")
public class GydzBaseFrameworkBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(GydzBaseFrameworkBootApplication.class, args);
    }

}
